package com.qa.service;

import com.github.pagehelper.PageInfo;
import com.qa.common.ServerResponse;
import com.qa.pojo.Category;

import java.util.List;

public interface ICategoryService {
    PageInfo<Category> getAll(String categoryName, Integer pageNum, Integer pageSize);

    Category getById(Integer categoryId);

    List<Category> getByStatus();

    ServerResponse save(Category category);

    ServerResponse deleteById(Integer categoryId);


}
